SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fea51fe7f776117f6a83782a1bf09609fe181a9f452e41f646ee5c0e89dbdffd' 
  AND token = 'a8Rt+2NYIA6IYIT/s4zEt2quaL2J33gpLyDETj4G6ug=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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