SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '348b84e47bff485883a842706aa01c33cd6a31f6817d528573accaba5dd41c34' 
  AND token = 'rrbw6thk3xZ1tZmoff6f4WF02/02Qf9xo0YYFsnz9Xo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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