SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b23f9589ba2191f684c7f423dca45804ae5801d21f19e6861afc5dead79c7751' 
  AND token = 'ZoGcZw8Mat7ox4Ab/OOSpOLpZ12vaUbuUAAGIn5KH64=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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