SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '004b12347441a4738dd4eb4415b6ffa652c97816874c9dfab83ecd455ac20887' 
  AND token = 'poT+zuhd7IZg1WpYOEjomElJFl801OnxYjDGc1iYJcU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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