SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eaa3541a4a1309ef90cf761aaeb17b5c67f939238d654b4cce0612ef18d3e64d' 
  AND token = 'ATEERKQT3ez6lQKQaMETAeSTBoxWJFFgKwjXo0vg81A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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