SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1799dd9065f47fca4a19f3369ecfe3c46c4f75b5917291c00847f28220976084' 
  AND token = 'BaTXcttiO6f6eGCUPU22a9i7d6Z2dEvvmne4IzF8c6Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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