SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a7ba67572ce2cd3bbbbeb284c9dfe0c9991cbc0fd16a4f4535f2d89503671ad' 
  AND token = 'Pb2I6picg6wUUSCHMR5R3DCfdUJkz4cx+uY4H2H8xnI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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