SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7517f030ccd065b7398d83c94bb11789f71b78f480a4f1b4ef38374507e68b8a' 
  AND token = 'KUsMY7CSQ7wt9sd7umQ6G4+DmzWlwZp/27QKABk6+Kc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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