SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '09e2aa49b5bf48ec564f0cc30d062f9450f82e8397cb21dad290678e551a152e' 
  AND token = 'FFSDTNQcQZDSVPI5580MgujVlnmq4T7nf2KstIJTaE0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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