SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8cc48fc323903ff506ff9e664eda1a42b05793df12fc30abcb2e81ed3e363a1f' 
  AND token = '1W1OgFR4J3kB5Vt7hFt+encGE9KVivy8oyCp25TgPnU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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