SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '817d4d8f8ba8d82b5f1c1378f933762f2f476e93dd9c3dbf32ab8cabce8a0030' 
  AND token = 'UzErcn+Q8YyT7zeq+Po1DtW2U8MHvZ9qaX6JBRk6xo4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}