SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2dc0ef2bfb4e807e786fc301e25a8f03355a385e96983e6467b4d8bb699ea8f5' 
  AND token = 'ksWhe/BIspJ14aq6rxPPeFVia4myYeYG185k396R4Vs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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