SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4c2cbf641457d6dc79b45632209a304fffb8f6c07b8469102161fe349270414' 
  AND token = 'c0eOnpuD+eiNKWWhFZDFOy87yMWeahtHV5sW2OqTGvI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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