SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '475a811abc7d5e066f67655e54eac303e012ff5d0694b876884d253b3225fba0' 
  AND token = '8NAkkk8jef6YTJPsU1Pf2e6F8Ly12URCGOkSrDsWm3E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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