SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fd1e0cc0ae7e27be5a99e81acdd3aa0f10bcc07fc813df46c437d1ebe93f53fe' 
  AND token = 'YvScTJTh1c/ZelLphL/WllIZPwQTeKGVXWOESEDJGW8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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