SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec71577ce2c9f282924e7473ac91af019a2a686ac1acabc38dd1cb05c6ea08b5' 
  AND token = 'W1HeZrTyE1XTerjSJZFd9zGfGggEEgPktPe/c8d5C18=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00368

JSON explain

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