SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd59d30098549547f5ab3412a4811c8c11d67dfa23dbd352ee727068030074bff' 
  AND token = 'srI44j5tcy8qn+QwmO68e9P6o4opzElyQ9JVni6GuTY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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