SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2caee37c2d1ea3aa1f8b3cb78cdc430fda254b63c1a1d6b4dca039f53a664274' 
  AND token = 'z5+SMbQTslmr4Ioj4Ldqsm/RwvRmkB0g8a2GRxLMYAQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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