SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a14164bf0a6e81693bb0113a792a3e9420ec6c29515a9f55e8b09ff85f8c229' 
  AND token = '2NAZZ7cvz6e8a2fh4cahsDEZTFui9N7QRfXx8Pk7F4Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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