SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c7d8ff8bba16638907690ce85327149aa0c0df44e32181ba92966da8bacb585f' 
  AND token = 'ednBB2jawMFFUPgw/w14THJv4GY0P/Hx57fbh0Uzc8c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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