SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'de9d989fd155dd61e418a119fca25170319d0c3cb65e0fe59c68ef6a0ce2d60e' 
  AND token = 'YO4iIkHuOljinzoqnNc9Qr/9SsOiKlSMDcFK+TTrv78=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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