SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1f63f8718bf7111a471ff0bb356568fba025697080d45a2efc2907122a4cf24a' 
  AND token = '9afEYF1goPIFEsJlIWwOTsYO3Io5NsFThEHWMDAwTrs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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