SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b571d397e3c0ca42fb661a3d6b51b874c064a0ddc71f9c13e05222a621567822' 
  AND token = '1CE6W8bgnTn8opM6LlDhvTawKRaN0QnC9oCtqe65De0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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