SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45c4859fb47e707039be1db81234f8542d6154810b1ff5599f99d3d8975be80d' 
  AND token = '8SCGiPvKvpSkBegNaJSaXFkn7CoxEcUjEJ3HF1gu0kw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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