SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6d2338e35886765f2992d28019a7457c9dc65fc098d4a10b3e13b3bec45ff244' 
  AND token = 'bc//Vnsqbh8ctFTApZAk7+aJLM0fJdUMW30S6/cbZIk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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