SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9936b99d838285b9e011e22756e7042307016de4a11f80b4022c4b4f80913d72' 
  AND token = 'O9UNP60R9pOAoE0SNfSmsISvRj4KKwsJS9qVeIgHAcQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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