SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd87b38a37b07a858aba1262d2bcefe1b83418148a4f482191a07a5fd4f949e8e' 
  AND token = 'GDmZbhpTdLCh8jzlAmNncsR2OZ6Yaio04/Fn8E7LZJU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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