SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d64002db86bd71acd8465191a88966e319224ee123bb3f052cefbed60fd556a' 
  AND token = 'hQr/j4p50pb2G0KzD7Ixd4dLhbm+xF562a1YtXfOx8w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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